package test0107;

import java.util.HashMap;
import java.util.Map;

public class Test05 {
    public static void main(String[] args) {
        Map<Integer, String> map = new HashMap<Integer, String>();
        map.put(1,"张三");
        map.put(2, "李四");
        map.put(3,"王五");
        map.forEach((k,v)->{
            System.out.println(k + "\t" + v);
        });
    }
}
